package info.wegosoft.android.activity;

import info.wegosoft.R;
import android.app.AlertDialog;
import android.app.TabActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.widget.TabHost;

/**  
 * Filename:    HomeTabsActivity.java 
 * Package:     info.wegosoft.android.activity 
 * Description: TODO(这里用一句话描述这个类的作用)
 * Copyright:   Copyright (c) wegosoft.info 2011  
 * @author:     李辉 
 * email:       fzlihui@gmail.com
 * @version:    1.0  
 * Create at:   2011-5-13 上午09:58:24  
 */
public class HomeTabsActivity extends TabActivity {

	private TabHost homeTabHost;
	
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.home_tabs);
		
		setTitle("WeGo微博平台");
		
		this.homeTabHost = getTabHost();
		
		Intent intent1 = new Intent(this,MBlogListActivity.class);
		
        TabHost.TabSpec ts1 = this.homeTabHost.newTabSpec("mblog_tab").setIndicator("TAB a").setContent(intent1);
        
        this.homeTabHost.addTab(ts1);
	}	
}
